package cn.Mmovie.dao;

import cn.Mmovie.bean.Auditorium;
import cn.Mmovie.bean.Cinema;

import java.util.List;

public interface AuditoriumDao extends BaseDao<Auditorium> {
    Integer selectForRecordTotal();

    List<Auditorium> selectForPageItems(Integer offset, Integer rows,Integer cinemaId);
    Integer queryPageNoForAuditoriumId(Integer id,Integer pageSize);

    List<Auditorium> selectForPageItems(Integer offset,Integer rows);
    Auditorium selectAuditoriumByName(String name);
}
